Release 10.1A: OpenEdge Development:
Java Open Clients
Connection object
Progress provides a Connection object,
com.progress.open4gl.javaproxy.Connection. ThisConnectionobject provides a means to store AppServer connection information, which can be passed to the AppObject constructor when connecting to the AppServer.The
Connectionobject has the following constructor methods.The following constructor specifies the AppServer connection information (
url), user ID, password, and information required by the AppServer application at connection time:
For more information on the AppServer URL connection parameter format and default connection information, see the sections on connecting to an AppServer using a URL in OpenEdge Application Server: Developing AppServer Applications .
The following constructor specifies the user ID, password, and information required by the AppServer application at connection time:
The constructor above uses default AppServer connection information. This defaults the URL to
AppServer://localhost:5162/appService, whereappServiceis the AppService setting specified on the General tab of the Generate dialog box in ProxyGen.Before you establish a connection, you can set properties for the
Connectionobject. See Chapter 7, "Accessing Proxy Properties," for more information on setting and updatingConnectionobject properties.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |